Params

public interface Params

The parameters of the ReceiveHeadersCallback.

Functions

Link copied to clipboard
public String charset()
Returns a string that represents the charset data in the lower case retrieved from the Content-Type header.
Link copied to clipboard
public long contentLength()
Returns the value of the Content-Length header.
Link copied to clipboard
Returns an immutable list of the HTTP headers of the request or an empty list if the request does not have any HTTP headers.
Link copied to clipboard
public String ipAddress()
Returns a string that represents a remote endpoint that was used to make the request.
Link copied to clipboard
public MimeType mimeType()
Returns the MIME type value initialized with the lower case string retrieved from the Content-Type header.
Link copied to clipboard
public int responseCode()
Returns the HTTP response code.
Link copied to clipboard
public String statusLine()
Returns a string that represents the information about HTTP version, response code and the status text.
Link copied to clipboard
public String statusText()
Returns a string that represents the short textual description of the response code.
Link copied to clipboard
Returns the URL request.